package com.woniuxy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.pojo.Accident;

public interface AccidentMapper {
    int deleteByPrimaryKey(Integer acId);

    int insert(Accident record);

    int insertSelective(Accident record);

    Accident selectByPrimaryKey(Integer acId);

    int updateByPrimaryKeySelective(Accident record);

    int updateByPrimaryKey(Accident record);
    

    List<Accident> selectAll(@Param("conBy")String dr_conditionBy,@Param("con")String dr_condition);

    List<String> selectAllAccidentName();

    int batchDelete(Integer[] driverIds);

    Double selectCostByCarlicense(String carlicense);
}